import httpInstance from '@/utils/http.js'

//查询分类1
export function getTaxOneAPI () {
  return httpInstance.get(`/api/goods/tax/tax-category/`)
}
//查询分类2 
/* export function getTaxTwoAPI (id) {

  return httpInstance.post(`/api/goods/tax/tax-second-category/`,{id:id} )
} */

export function getTaxTwoAPI (id) {
  return httpInstance({
    url: `/api/goods/tax/next-tax-category/`,
    method:'POST',
    data:{
      id
    }
  })
}

export function countTtaxAPI (data) {
  return httpInstance({
    url: `/api/goods/tax/get-taxes/`,
    method:'POST',
    data
  })
}